package com.fujitsu.hope.web.client.requirement.service;

import java.util.List;

import com.extjs.gxt.ui.client.data.BaseTreeModel;
import com.fujitsu.hope.web.client.requirement.model.Label;
import com.fujitsu.hope.web.client.requirement.model.Person;
import com.fujitsu.hope.web.client.requirement.model.Requirement;
import com.fujitsu.hope.web.client.requirement.model.RequirementSearchCondition;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("requirement")
public interface RequirementService extends RemoteService {
	public List<Requirement> getDemandList(RequirementSearchCondition condition) throws Exception;
	public Integer update(Requirement bean) throws Exception;
	public List<Label> getLabelList(String input) throws Exception;
	public List<Person> getPersonList(String input) throws Exception;
	public BaseTreeModel getLabelTree(String input);
}